package com.ocean.client.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ocean.client.entity.UmsMember;
import com.ocean.client.extension.security.core.UmsMemberDetails;
import com.ocean.client.service.IUmsMemberService;
import com.ocean.client.mapper.UmsMemberMapper;
import org.springframework.stereotype.Service;

/**
 * 针对表【ums_member(客户端用户表)】的数据库操作Service实现
 *
 * @author zhang
 * @since 2024-05-20 17:34:01
 */
@Service
public class UmsMemberServiceImpl extends ServiceImpl<UmsMemberMapper, UmsMember> implements IUmsMemberService {

    /**
     * 根据账户名查询用户信息
     *
     * @param username 账户名
     * @return UmsMemberDetails
     */
    @Override
    public UmsMemberDetails selectUserByUsername(String username) {
        return baseMapper.selectUserByUsername(username);
    }
}




